<?php

// +----------------------------------------------------------------------
// | 菜单设置
// +----------------------------------------------------------------------

return [

  [
    'title' => '开始',
    'type' => 'group',
    'icon'=>'mdi mdi-gauge',
    'children' => [
      [
        'title' => '仪表盘',
        'type' => 'menu',
        'ac'=>'/admin/dashboard',
        'href' => '/admin/dashboard/index',
      ],
      [
        'title' => 'FAQ',
        'type' => 'menu',
        'ac'=>'/admin/faq',
        'href' => '/admin/faq/index',
      ],

    ],
  ],


  [
    'title' => '产品管理',
    'type' => 'group',
    'icon'=>'fa fa-cubes',
    'children' => [
      [
        'title' => '出入库',
        'type' => 'title',
      ],
      [
        'title' => '产品出入库',
        'type' => 'menu',
        'ac'=>'/admin/goods/store_act',
        'href' => '/admin/goods/store_act/index',
      ],

      [
        'title' => '管理',
        'type' => 'title',
      ],
      [
        'title' => '添加产品',
        'type' => 'menu',
        'href' => '/admin/goods/goods/add',
      ],
      [
        'title' => '管理产品',
        'type' => 'menu',
        'ac'=>'/admin/goods/goods',
        'href' => '/admin/goods/goods/index',
      ],

    ],
  ],
  [
    'title' => '审核',
    'type' => 'group',
    'icon'=>'fa fa-cubes',
    'children' => [

      [
        'title' => '入库审核',
        'type' => 'menu',
        'ac'=>'/admin/goods/verify_instore',
        'href' => '/admin/goods/Verify_instore/index',
      ],
      [
        'title' => '出库审核',
        'type' => 'menu',
        'ac'=>'/admin/goods/verify_outstore',
        'href' => '/admin/goods/Verify_outstore/index',
      ],

    ],
  ],
  [
    'title' => '库位管理',
    'type' => 'group',
    'icon'=>'mdi mdi-dropbox',
    'children' => [

      [
        'title' => '添加库位',
        'type' => 'menu',
        'href' => '/admin/store/manager/add',
      ],
      [
        'title' => '管理库位',
        'type' => 'menu',
        'ac'=>'/admin/store/manager',
        'href' => '/admin/store/manager/index',
      ]

    ],
  ],
  [
    'title' => '供应商管理',
    'type' => 'group',
    'icon'=>'mdi mdi-account-card-details',
    'children' => [

      [
        'title' => '添加供应商',
        'type' => 'menu',
        'href' => '/admin/supplier/manager/add',
      ],
      [
        'title' => '管理供应商',
        'type' => 'menu',
        'ac'=>'/admin/supplier/manager',
        'href' => '/admin/supplier/manager/index',
      ]

    ],
  ],
  [
    'title' => '查询',
    'type' => 'group',
    'icon'=>'fa fa-search',
    'children' => [

      [
        'title' => '入库记录',
        'type' => 'menu',
        'ac'=>'/admin/search/in_store',
        'href' => '/admin/search/in_store/index',
      ],
      [
        'title' => '出库记录',
        'type' => 'menu',
        'ac'=>'/admin/search/out_store',
        'href' => '/admin/search/out_store/index',
      ],
      [
        'title' => '产品库存查询',
        'type' => 'menu',
        'ac'=>'/admin/search/by_goods',
        'href' => '/admin/search/by_goods/index',
      ],
      [
        'title' => '库位存货查询',
        'type' => 'menu',
        'ac'=>'/admin/search/by_store',
        'href' => '/admin/search/by_store/index',
      ]

    ],
  ],

  [
    'title' => '系统管理',
    'type' => 'group',
    'icon'=>'mdi mdi-laptop-windows',
    'children' => [
      [
        'title' => '用户',
        'type' => 'title',
      ],
      [
        'title' => '添加用户',
        'type' => 'menu',
        'ac'=>'/admin/system/admin_user_manager',
        'href' => '/admin/system/admin_user_manager/add',
      ],
      [
        'title' => '用户管理',
        'type' => 'menu',
        'ac' => '/admin/system/admin_user_manager',
        'href' => '/admin/system/admin_user_manager/index',
      ],
      [
        'type' => 'line',
      ],
      [
        'title' => '角色',
        'type' => 'title',
      ],
      [
        'title' => '添加角色',
        'type' => 'menu',
        'ac'=>'/admin/system/adminuser/admin_role_manager',
        'href' => '/admin/system/adminuser/admin_role_manager/add',
      ],
      [
        'title' => '角色管理',
        'type' => 'menu',
        'ac' => '/admin/system/adminuser/admin_role_manager',
        'href' => '/admin/system/adminuser/admin_role_manager/index',
      ],
      [
        'type' => 'line',
      ],
      [
        'title' => 'FAQ',
        'type' => 'title',
      ],
      [
        'title' => 'FAQ管理',
        'type' => 'menu',
        'ac' => '/admin/system/faq/faq',
        'href' => '/admin/system/faq/faq/index',
      ],
      [
        'type' => 'line',
      ],


    ]
  ],
];
